<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: lijincheng
  Date: 2021/5/21
  Time: 11:02 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="/css/bootstrap.css" rel="stylesheet">
    <script src="/js/jquery-3.5.1.js" type="text/javascript"></script>
    <script src="/js/bootstrap.min.js" type="text/javascript"></script>
    <link href="/css/order/css.css" rel="stylesheet">
    <style>
        th{
            text-align: center;
        }

    </style>
</head>
<body>
<div>
    <table class="table table-bordered text-center">
        <tr style="background-image: linear-gradient(#ffffff, #f2f3f2);height: 30px;font-size:15px;line-height: 30px">
            <th>图书编码</th>
            <th>图片</th>
            <th>名称</th>
            <th>价格</th>
            <th>发布时间</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody id="tbody">
        <c:forEach items="${voList}" var="v">
            <tr>
                <td>${v.bookCode}</td>
                <td><a href=""><img src="/upload/${v.imgUrl}" alt="" width="30" height="40"></a></td>
                <td><a style="font-size: medium" href="">${v.bookTitle}...</a></td>
                <td>${v.bookPrice}</td>
                <td>${v.postTime}</td>
                <td>${v.status}</td>
                <td>
                    <a href="/address/delete/${v.id}" onclick="return " class="btn btn-danger">删除</a>
                    <span class="btn btn-info" onclick="">编辑</span>
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>

</div>
</body>
</html>
